//
//  DefineConstant.h
//  Inspiration
//
//  Created by Mac on 15/10/15.
//  Copyright © 2015年 riverlj. All rights reserved.
//

#ifndef DefineConstant_h
#define DefineConstant_h


#endif /* DefineConstant_h */

#define SCREENHEIGHT [[UIScreen mainScreen] bounds].size.height
#define SCREENWIDTH [[UIScreen mainScreen] bounds].size.width

#define SIZESCRALE(ret, ret2){\
ret2 = SCREENWIDTH;\
if(ret2 == 320){\
ret = 1.0f;\
}else if (ret2 == 320){\
ret = 1.0f;\
}else if (ret2 == 414){\
ret = 414.0f/375.0f;\
}else{\
ret = 1.0f;\
}\
}